﻿using System;
namespace Log.Recorder.Entity
{
    /// <summary>
    /// 日志数据文件信息
    /// </summary>
    public class LogDbFileInfo
    {
        /// <summary>
        /// 4位年份
        /// </summary>
        public string year { get; set; }
        /// <summary>
        /// 2位月份
        /// </summary>
        public string month { get; set; }
        public string date { get; set; }
        public DateTime logTime { get; set; }
        public string level { get; set; }
        /// <summary>
        /// 文件名
        /// </summary>
        public string fileName { get; set; }
        /// <summary>
        /// 文件相对路径
        /// </summary>
        public string filePath { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? fileUpdateTime { get; set; } = null;
        /// <summary>
        /// 文件大小。单位/字节
        /// </summary>
        public long fileSize { get; set; } = 0;
    }


}
